package o;

import android.app.Activity;
import android.content.Intent;
import com.huawei.hmf.annotation.ActivityDefine;

public class fiv {
    private Activity ˎ;

    private fiv(Activity activity) {
        this.ˎ = activity;
    }

    public <T> T ॱ() {
        Intent intent = this.ˎ.getIntent();
        if (intent == null) {
            return null;
        }
        return new fjg(intent).ˎ((ActivityDefine) this.ˎ.getClass().getAnnotation(ActivityDefine.class));
    }

    public static fiv ॱ(Activity activity) {
        return new fiv(activity);
    }
}
